package com.citydo.webrtcspringboot.controller;

import com.citydo.webrtcspringboot.GlobalConfig;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IPController {
    @GetMapping("/getIP")
    public String getIP(){
        return GlobalConfig.GetIP();
    }

}
